FILE_PATH=$(dirname $0)
ROOT_DIR=${FILE_PATH}/../
cd $ROOT_DIR/ && echo "pwd is : $(pwd)"
cd configs
cp mx6ull_14x14_evk_emmc_defconfig mx6ull_alientek_emmc_defconfig
echo 'CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6ull_alientek_emmc/imximage.cfg,MX6ULL_EVK_EMMC_REWORK"' >> mx6ull_alientek_emmc_defconfig
echo 'CONFIG_TARGET_MX6ULL_ALIENTEK_EMMC=y' >> mx6ull_alientek_emmc_defconfig
tail mx6ull_alientek_emmc_defconfig


cd ${ROOT_DIR}
cp include/configs/mx6ullevk.h include/configs/mx6ull_alientek_emmc.h
cd include/configs
head mx6ull_alientek_emmc.h
sed -i 's/__MX6ULLEVK_CONFIG_H/__MX6ULL_ALIENTEK_EMMC_CONFIG_H/g' mx6ull_alientek_emmc.h
head mx6ull_alientek_emmc.h






